<?php

	require_once(realpath(dirname(__FILE__)) . "/Baseobj.class.php");

	class Autorisation_administrateur extends Baseobj{

		var $id;
		var $administrateur;
		var $autorisation;
		var $lecture;
		var $ecriture;


		const TABLE="autorisation_administrateur";
		var $table=self::TABLE;


		var $bddvars = array("id", "administrateur", "autorisation" ,"lecture", "ecriture");

		function __construct(){
			parent::__construct();
		}

		function charger($autorisation, $administrateur){
			return $this->getVars("select * from $this->table where autorisation=\"$autorisation\" and administrateur=\"$administrateur\"");
		}

	}


?>